package vo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * SellMainInfo entity. @author MyEclipse Persistence Tools
 */

public class SellMainInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private VipInfo vipInfo;
	private ClerkInfo clerkInfo;
	private String saleOrderNo;
	private Timestamp selldate;
	private String sfhy;
	private String total;
	private Set saleReturns = new HashSet(0);

	// Constructors

	/** default constructor */
	public SellMainInfo() {
	}

	/** minimal constructor */
	public SellMainInfo(String saleOrderNo, Timestamp selldate) {
		this.saleOrderNo = saleOrderNo;
		this.selldate = selldate;
	}

	/** full constructor */
	public SellMainInfo(VipInfo vipInfo, ClerkInfo clerkInfo,
			String saleOrderNo, Timestamp selldate, String sfhy, String total,
			Set saleReturns) {
		this.vipInfo = vipInfo;
		this.clerkInfo = clerkInfo;
		this.saleOrderNo = saleOrderNo;
		this.selldate = selldate;
		this.sfhy = sfhy;
		this.total = total;
		this.saleReturns = saleReturns;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public VipInfo getVipInfo() {
		return this.vipInfo;
	}

	public void setVipInfo(VipInfo vipInfo) {
		this.vipInfo = vipInfo;
	}

	public ClerkInfo getClerkInfo() {
		return this.clerkInfo;
	}

	public void setClerkInfo(ClerkInfo clerkInfo) {
		this.clerkInfo = clerkInfo;
	}

	public String getSaleOrderNo() {
		return this.saleOrderNo;
	}

	public void setSaleOrderNo(String saleOrderNo) {
		this.saleOrderNo = saleOrderNo;
	}

	public Timestamp getSelldate() {
		return this.selldate;
	}

	public void setSelldate(Timestamp selldate) {
		this.selldate = selldate;
	}

	public String getSfhy() {
		return this.sfhy;
	}

	public void setSfhy(String sfhy) {
		this.sfhy = sfhy;
	}

	public String getTotal() {
		return this.total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public Set getSaleReturns() {
		return this.saleReturns;
	}

	public void setSaleReturns(Set saleReturns) {
		this.saleReturns = saleReturns;
	}

}